package org.maiyoframework.core.web.page;

import java.io.Serializable;
import java.util.List;

/**
 * 查询结果封装类
 * 
 * @author maiYo
 * 
 * @param <T>
 */
public class PageResult<T> implements Serializable{

	private static final long serialVersionUID = -3539899310016903121L;
	
	/** 查询记录集 **/
	private List<T> resultList;
	
	/** 总记录数 **/
	private Long totalCount;
	
	public List<T> getResultList() {
		return resultList;
	}

	public void setResultList(List<T> resultList) {
		this.resultList = resultList;
	}

	public Long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Long totalCount) {
		this.totalCount = totalCount;
	}
}
